inherited sprOtherGroups: TsprOtherGroups
  Left = 429
  Top = 321
  Caption = #1057#1087#1088#1072#1074#1086#1095#1085#1080#1082' '#1085#1072#1079#1085#1072#1095#1077#1085#1080#1103' '#1087#1088#1086#1095#1080#1093' '#1087#1083#1072#1090#1077#1078#1077#1081
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel2: TPanel
    Top = 25
    Height = 450
    inherited PageControl1: TPageControl
      Height = 450
      inherited tsTab: TTabSheet
        inherited GroupBox3: TGroupBox
          Height = 422
          inherited dbgRefer: TDBGridEh
            Height = 405
            Columns = <
              item
                EditButtons = <>
                FieldName = 'ID'
                Footers = <>
              end
              item
                EditButtons = <>
                FieldName = 'NAME'
                Footers = <>
              end
              item
                EditButtons = <>
                FieldName = 'IS_ACTIVE'
                Footers = <>
                Width = 105
              end
              item
                EditButtons = <>
                FieldName = 'FOR_SORT'
                Footers = <>
                Width = 82
              end
              item
                EditButtons = <>
                FieldName = 'EDITMASK'
                Footers = <>
                Width = 163
              end>
          end
        end
      end
      inherited tsForm: TTabSheet
        inherited GroupBox2: TGroupBox
          Width = 561
          Height = 178
          object Label1: TLabel [0]
            Left = 9
            Top = 27
            Width = 136
            Height = 13
            Alignment = taRightJustify
            AutoSize = False
            Caption = #1053#1072#1079#1074#1072#1085#1080#1077
          end
          object Label2: TLabel [1]
            Left = 9
            Top = 51
            Width = 136
            Height = 13
            Alignment = taRightJustify
            AutoSize = False
            Caption = #1055#1088#1080#1086#1088#1080#1090#1077#1090' '#1089#1086#1088#1090#1080#1088#1086#1074#1082#1080
          end
          object Label3: TLabel [2]
            Left = 9
            Top = 75
            Width = 136
            Height = 13
            Alignment = taRightJustify
            AutoSize = False
            Caption = #1052#1072#1089#1082#1072' '#1076#1083#1103' '#8470' '#1076#1086#1082#1091#1084#1077#1085#1090#1072
          end
          inherited pnlButtons: TPanel
            Top = 145
            Width = 557
            inherited SpeedButton1: TSpeedButton
              Left = 358
            end
            inherited SpeedButton2: TSpeedButton
              Left = 460
            end
          end
          object dbeName: TDBEditEh
            Left = 152
            Top = 24
            Width = 333
            Height = 19
            AlwaysShowBorder = True
            DataField = 'NAME'
            DataSource = dscRefer
            EditButtons = <>
            Flat = True
            TabOrder = 1
            Visible = True
          end
          object cbActive: TDBCheckBoxEh
            Left = 152
            Top = 96
            Width = 157
            Height = 17
            AlwaysShowBorder = True
            Caption = #1055#1088#1080#1079#1085#1072#1082' '#1072#1082#1090#1091#1072#1083#1100#1085#1086#1089#1090#1080
            DataField = 'IS_ACTIVE'
            DataSource = dscRefer
            Flat = True
            TabOrder = 2
            ValueChecked = '1'
            ValueUnchecked = '0'
          end
          object dbeSortPriority: TDBEditEh
            Left = 152
            Top = 48
            Width = 333
            Height = 19
            AlwaysShowBorder = True
            DataField = 'FOR_SORT'
            DataSource = dscRefer
            EditButtons = <>
            Flat = True
            TabOrder = 3
            Visible = True
          end
          object dbeMask: TDBEditEh
            Left = 152
            Top = 72
            Width = 333
            Height = 19
            AlwaysShowBorder = True
            DataField = 'EDITMASK'
            DataSource = dscRefer
            EditButtons = <>
            Flat = True
            TabOrder = 4
            Visible = True
          end
        end
      end
    end
  end
  inherited GroupBox1: TGroupBox
    Height = 0
    Enabled = False
    Visible = False
  end
  inherited dsRefer: TpFIBDataSet
    UpdateSQL.Strings = (
      'UPDATE RTP_GROUPS'
      'SET '
      '    NAME = :NAME,'
      '    IS_ACTIVE = :IS_ACTIVE,'
      '    FOR_SORT = :FOR_SORT,'
      '    EDITMASK = :EDITMASK'
      'WHERE'
      '    ID = :OLD_ID'
      '    ')
    DeleteSQL.Strings = (
      'DELETE FROM'
      '    RTP_GROUPS'
      'WHERE'
      '        ID = :OLD_ID'
      '    ')
    InsertSQL.Strings = (
      'INSERT INTO RTP_GROUPS('
      '    NAME,'
      '    IS_ACTIVE,'
      '    FOR_SORT,'
      '    EDITMASK'
      ')'
      'VALUES('
      '    :NAME,'
      '    :IS_ACTIVE,'
      '    :FOR_SORT,'
      '    :EDITMASK'
      ')'
      'returning id')
    RefreshSQL.Strings = (
      'SELECT'
      '    *'
      'FROM RTP_GROUPS '
      'WHERE RTP_GROUPS.ID = :OLD_ID'
      '    ')
    SelectSQL.Strings = (
      'SELECT'
      '    *'
      'FROM'
      '    RTP_GROUPS ')
    object dsReferID: TFIBIntegerField
      DisplayLabel = #1048#1044
      FieldName = 'ID'
    end
    object dsReferNAME: TFIBStringField
      DisplayLabel = #1053#1072#1079#1074#1072#1085#1080#1077
      DisplayWidth = 30
      FieldName = 'NAME'
      Size = 120
      EmptyStrToNull = True
    end
    object dsReferIS_ACTIVE: TFIBSmallIntField
      DisplayLabel = #1055#1088#1080#1079#1085#1072#1082' '#1072#1082#1090#1091#1072#1083#1100#1085#1086#1089#1090#1080
      FieldName = 'IS_ACTIVE'
    end
    object dsReferFOR_SORT: TFIBSmallIntField
      DisplayLabel = #1055#1088#1080#1086#1088#1080#1090#1077#1090' '#1089#1086#1088#1090#1080#1088#1086#1074#1082#1080' '#1074' '#1074#1099#1087#1072#1076#1072#1102#1097#1077#1084' '#1089#1087#1080#1089#1082#1077
      FieldName = 'FOR_SORT'
    end
    object dsReferEDITMASK: TFIBStringField
      DisplayLabel = #1052#1072#1089#1082#1072' '#1085#1086#1084#1077#1088#1072' '#1076#1086#1082#1091#1084#1077#1085#1090#1072
      DisplayWidth = 20
      FieldName = 'EDITMASK'
      Size = 60
      EmptyStrToNull = True
    end
  end
  inherited trRefer: TpFIBTransaction
    Left = 24
    Top = 284
  end
  inherited PropStorage: TPropStorageEh
    Left = 84
    Top = 48
  end
end
